<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<head>
<meta http-equiv="Content-Type" 
        content="text/html; charset=iso-8859-1" />
<title>New Customer</title>
</head>
<body>
	<h:form>
		<h:messages/><br/>
		<h:commandButton value="Novo" action="#{agendaControle.novo}" />
		<hr/>
		<h:dataTable id="dt1" value="#{agendaControle.customers}" var="item" bgcolor="#F1F1F1" border="10" cellpadding="5" cellspacing="3" first="0" width="50%" dir="LTR" frame="hsides" rules="all" summary="This is a JSF code to create dataTable." >
			<f:facet name="header">
			        <h:outputText value="This is 'dataTable' demo" />
			</f:facet> 
			<h:column>
			        <f:facet name="header">
			        <h:outputText value="id" />
			        </f:facet> 
			             <h:outputText value="#{item.id}"></h:outputText>
			</h:column>
			<h:column>
			        <f:facet name="header">
			        <h:outputText value="nome" />
			        </f:facet> 
			             <h:outputText value="#{item.firstName}"></h:outputText>
			</h:column>
			<f:facet name="footer">
			        <h:outputText value="The End" />
			</f:facet> 
		</h:dataTable>
	</h:form>
</body>
</html>